<script type="text/javascript">
    $(document).ready(function(){
        window.onresize = function() {
            window.location.href = window.location.href;
        };
    });
</script>
<div class="breadcrum">
    <p>
        <a href="#">Reporting</a><span></span><small>Aset Tetap dan Penyusutan</small>
    </p>
    <div class="clear"></div>
</div>
<!--<div class="dashboard-widget">
    <div class="dashboard-link">
        <p class="tanggal">Berdasarkan Tahun</p>
        <form method="post" action="#">
            <p class="button"> 
                <select name="tahun">
                    <option value="2019">2019</option>
                    <option value="2018">2018</option>
                    <option value="2017">2017</option>
                    <option value="2016">2016</option>
                    <option value="2015">2015</option>
                    <option selected="selected" value="2014">2014</option>
                    <option value="2013">2013</option>
                    <option value="2012">2012</option>
                    <option value="2011">2011</option>
                    <option value="2010">2010</option>
                    <option value="2009">2009</option>
                    <option value="2008">2008</option>
                </select>
                <input type="submit" value="Change" class="button" name="save">
                <input type="submit" value="Reset" class="button" name="save"> 
            </p>
        </form>
        <div class="clear"></div>
    </div>
</div>-->
<div class="dashboard-box left">
    <div class="dashboard-content">
        <div id="chartdiv" style="text-align: center;">
            <script type="text/javascript">
                var chart = new FusionCharts("{$BASEURL}resource/doc/charts/MSColumn3D.swf", "ChartId",(Math.round($("#chartdiv").width())*0.9),(Math.round($("#chartdiv").width())/3.5));
                chart.setDataURL("{$config->site_url('laporan/asettetap/data_xml_aset')}");
                chart.render("chartdiv");
            </script> 
        </div>
        <div class="clear"></div>
    </div> 
</div>
<div class="clear"></div>
<div class="report-map">
    <div class="report-box">
        <a href="{$config->site_url('laporan/asettetap/mebelair')}">
            <em>Mebel dan Furnitur</em>
            <small><b>{$rs_today.bulan|default:''} {$rs_today.tahun|default:''}</b></small> 
            <span class="clear"></span>
            <small class="lefted">Harga baru : </small><small class="righted"><b>{$rs_mebel.total_harga_beli|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
            <small class="lefted">Nilai buku : </small><small class="righted"><b>{$rs_mebel.total_nilai_buku|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
        </a>
    </div>
    <div class="report-box">
        <a href="{$config->site_url('laporan/asettetap/perlengkapan')}">
            <em>Perlengkapan Kantor dan Perkuliahan</em>
            <small><b>{$rs_today.bulan|default:''} {$rs_today.tahun|default:''}</b></small> 
            <span class="clear"></span>
            <small class="lefted">Harga baru : </small><small class="righted"><b>{$rs_perlengkapan.total_harga_beli|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
            <small class="lefted">Nilai buku : </small><small class="righted"><b>{$rs_perlengkapan.total_nilai_buku|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
        </a>
    </div>
    <div class="report-box">
        <a href="{$config->site_url('laporan/asettetap/kendaraan')}">
            <em>Kendaraan</em>
            <small><b>{$rs_today.bulan|default:''} {$rs_today.tahun|default:''}</b></small> 
            <span class="clear"></span>
            <small class="lefted">Harga baru : </small><small class="righted"><b>{$rs_kendaraan.total_harga_beli|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
            <small class="lefted">Nilai buku : </small><small class="righted"><b>{$rs_kendaraan.total_nilai_buku|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
        </a>
    </div>
    <div class="report-box">
        <a href="{$config->site_url('laporan/asettetap/bangunan')}">
            <em>Bangunan</em>
            <small><b>{$rs_today.bulan|default:''} {$rs_today.tahun|default:''}</b></small> 
            <span class="clear"></span>
            <small class="lefted">Harga baru : </small><small class="righted"><b>{$rs_bangunan.total_harga_beli|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
            <small class="lefted">Nilai buku : </small><small class="righted"><b>{$rs_bangunan.total_nilai_buku|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
        </a>
    </div>
    <div class="report-box">
        <a href="{$config->site_url('laporan/asettetap/tanah')}">
            <em>Tanah</em>
            <small><b>{$rs_today.bulan|default:''} {$rs_today.tahun|default:''}</b></small> 
            <span class="clear"></span>
            <small class="lefted">Harga baru : </small><small class="righted"><b>{$rs_tanah.total_harga_beli|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
            <small class="lefted">Nilai buku : </small><small class="righted"><b>{$rs_tanah.total_nilai_buku|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
        </a>
    </div> 
    <div class="report-box">
        <a href="{$config->site_url('laporan/asettetap/mesin')}">
            <em>Mesin dan Tower</em>
            <small><b>{$rs_today.bulan|default:''} {$rs_today.tahun|default:''}</b></small> 
            <span class="clear"></span>
            <small class="lefted">Harga baru : </small><small class="righted"><b>{$rs_mesin.total_harga_beli|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
            <small class="lefted">Nilai buku : </small><small class="righted"><b>{$rs_mesin.total_nilai_buku|number_format:2:',':'.'|default:'0'}</b></small>
            <span class="clear"></span>
        </a>
    </div>
</div>
